<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
	
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>

<div class="row">
	<div class="col-md-12 col-sm-12 col-lg-12 col-xs-12 text-right">
		<t:roleButton />
	</div>
</div> 

<script type="text/javascript">
function addData(){
	top.openModal("/admin/acc/accountRecharge/accountRechargeDetailed","accountRecharge_form","充值记录-添加",800,446);
}
function editData(){
	var id=getKeyId();
	if(isEditor(id)){
		top.openModal("/admin/acc/accountRecharge/accountRechargeDetailed?key="+id,"accountRecharge_form","充值记录-修改",800,446);
	}
}
function selData(){
	var id=getKeyId();
	if(isEditor(id)){
		top.openModal("/admin/acc/accountRecharge/accountRechargeDetailed?key="+id+"&mode=3","accountRecharge_form","充值记录-查看",800,446);	
	}
}

function deleteData(){
	var id=getKeyId();
	if(isEditor(id)){
		var url=$.getVirtualPath()+"/admin/acc/accountRecharge/delete?key="+id;
		deleteDataEx(url,function(data){
			if(data.resultType=="success"){
				formSubmit();
			}
		});
	}
}	
</script>